Optimal. Leaf size=52 \[ -\frac{i (a+i a \tan (e+f x))^m \, _2F_1\left (5,m;m+1;\frac{1}{2} (i \tan (e+f x)+1)\right )}{32 c^4 f m} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.121662, antiderivative size = 52, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.097, Rules used = {3522, 3487, 68} \[ -\frac{i (a+i a \tan (e+f x))^m \, _2F_1\left (5,m;m+1;\frac{1}{2} (i \tan (e+f x)+1)\right )}{32 c^4 f m} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3522
Rule 3487
Rule 68
Rubi steps
\begin{align*} \int \frac{(a+i a \tan (e+f x))^m}{(c-i c \tan (e+f x))^4} \, dx &=\frac{\int \cos ^8(e+f x) (a+i a \tan (e+f x))^{4+m} \, dx}{a^4 c^4}\\ &=-\frac{\left (i a^5\right ) \operatorname{Subst}\left (\int \frac{(a+x)^{-1+m}}{(a-x)^5} \, dx,x,i a \tan (e+f x)\right )}{c^4 f}\\ &=-\frac{i \, _2F_1\left (5,m;1+m;\frac{1}{2} (1+i \tan (e+f x))\right ) (a+i a \tan (e+f x))^m}{32 c^4 f m}\\ \end{align*}
Mathematica [F] time = 180.009, size = 0, normalized size = 0. \[ \text{\$Aborted} \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.312, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( a+ia\tan \left ( fx+e \right ) \right ) ^{m}}{ \left ( c-ic\tan \left ( fx+e \right ) \right ) ^{4}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: RuntimeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\left (\frac{2 \, a e^{\left (2 i \, f x + 2 i \, e\right )}}{e^{\left (2 i \, f x + 2 i \, e\right )} + 1}\right )^{m}{\left (e^{\left (8 i \, f x + 8 i \, e\right )} + 4 \, e^{\left (6 i \, f x + 6 i \, e\right )} + 6 \, e^{\left (4 i \, f x + 4 i \, e\right )} + 4 \, e^{\left (2 i \, f x + 2 i \, e\right )} + 1\right )}}{16 \, c^{4}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: AttributeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (i \, a \tan \left (f x + e\right ) + a\right )}^{m}}{{\left (-i \, c \tan \left (f x + e\right ) + c\right )}^{4}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]